Method and system of performing transactions using shared resources and different applications

ABSTRACT

A method and system can comprise a software architecture that allows different applications in the same or different communications protocols to interact with shared resources. More specifically, code for a computer program may be written to increase the amount of code that is generic to (i.e., shared by) more than one application or communications protocol and reduce the amount of code that handle application-specific or protocol-specific actions. In one embodiment, a transaction may be broken down into a set of discrete actions. The discrete actions may include functions that are common to more than one application. These functions may be part of the shared resources. Each application may have its own set of software plug-in modules for the discrete actions.

SUMMARY OF THE INVENTION

[0001] A method and system can comprise a software architecture that allows different applications in the same or different communications protocols to interact with shared resources. More specifically, code for a computer program may be written to increase the amount of code that is generic to (i.e., shared by) more than one communications protocol and reduce the amount of code that handle application-specific actions. In one embodiment, a transaction may be broken down into a set of discrete actions. The discrete actions may include functions that are common to more than one application. These functions may be performed by the shared resources.

[0002] For each action, code that is specific to a particular protocol or particular application may be written as part of a software plug-in module with function calls to functions of the shared resources. Each application may have its own set of software plug-in modules for the discrete actions. New protocols and new applications can be added by developing a new set of plug-in modules instead of writing an entire new program. The software architecture can reduce development time, increase the likelihood that more protocols will be properly supported, and reduce the burden on hardware and software resources.

[0003] In one set of embodiments, a system for performing transactions can comprise a shared resource, a first application, and a second application. The first application may be configured to send a first call to the shared resource, and the second application may be configured to send a second call to the shared resource.

[0004] In still another set of embodiments, a method of developing a system for performing transactions using shared resources can comprise generating a first application and generating a second application. Each of the first and second applications may be configured to make a call to at least one of the shared resources.

[0005] In a further set of embodiments, a method of performing electronic transactions can comprise receiving a first communication from a first application and sending a first call to a resource in response to the first communication. The method can also comprise receiving a second communication from a second application and sending a second call to the resource in response to the second communication.

[0006] In still other sets of embodiments, data processing system readable media can comprise code that includes instructions for carrying out the methods and may be used on the systems.

[0007] The foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as defined in the appended claims.

BRIEF DESCRIPTION OF THE DRAWINGS

[0008] The present invention is illustrated by way of example and not limitation in the accompanying figures.

[0009]FIG. 1 includes an illustration of a hardware configuration for performing transactions in response to an electronic communication in accordance with a specific, non-limiting embodiment of the present invention.

[0010]FIG. 2 includes an illustration of a data processing system storage medium including software code having instructions in accordance with an embodiment of the present invention.

[0011]FIG. 3 includes an illustration of an exemplary software architecture in accordance with an embodiment of the present invention.

[0012]FIG. 4 includes an illustration of a cross-sectional view of the software architecture illustration of FIG. 3 in accordance with an embodiment of the present invention.

[0013]FIG. 5 includes a flow diagram of a method of performing an electronic transaction in accordance with an embodiment of the present invention.

[0014] FIGS. 6-8 include a more detailed flow diagram illustrating some of the operations of software plug-in modules and how they may interact with other software plug-in modules for different actions within the same transaction in accordance with an embodiment of the present invention.

[0015]FIG. 9 includes a flow diagram of a method of changing software plug-in modules to develop new applications using the same protocol in accordance with an embodiment of the present invention.

[0016] Skilled artisans appreciate that elements in the figures are illustrated for simplicity and clarity and have not necessarily been drawn to scale. For example, the dimensions of some of the elements in the figures may be exaggerated relative to other elements to help to improve understanding of embodiments of the present invention.

DETAILED DESCRIPTION

[0017] Reference is now made in detail to the exemplary embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts (elements).

[0018] A method and system can comprise a software architecture that allows different applications in the same or different communications protocols to interact with shared resources within a computer. More specifically, code for a computer program may be written to increase the amount of code that is generic to (i.e., shared by) more than one application or communications protocol and reduce the amount of code that handle application-specific or protocol-specific actions. In one embodiment, a transaction may be broken down into a set of discrete actions. The discrete actions may include functions that are common to more than one network application. These functions may be performed by the shared resources.

[0019] For each action, code that is specific to a particular protocol or application may be written as part of a software plug-in module with function calls to functions of the shared resources. Each software plug-in module may substantially act similar to a manager for the action, where common tasks are delegated to the shared resources and the module performs specialized functions. Each protocol may have its own set of software plug-in modules for the discrete actions. New applications and support for new protocols can be added by developing a new set of plug-in modules instead of writing an entirely new program. New applications for the same protocol may be developed by replacing or editing as little as one plug-in module from a different application in the same protocol. The software architecture can reduce development time, increase the likelihood that new applications may be developed quickly with fewer changes from an existing application, more protocols will be properly supported, and reduce the burden on hardware and software resources.

[0020] A few terms are defined or clarified to aid in understanding the descriptions that follow. A network includes an interconnected set of server and client computers over a publicly available medium (e.g., the Internet) or over an internal (company-owned) system. A user at a client computer may gain access to the network using a network access provider. An Internet Service Provider (“ISP”) is a common type of network access provider.

[0021] As used herein, the terms “comprises,” “comprising,” “includes,” “including,” “has,” “having” or any other variation thereof, are intended to cover a non-exclusive inclusion. For example, a method, process, article, or apparatus that comprises a list of elements is not necessarily limited to only those elements but may include other elements not expressly listed or inherent to such method, process, article, or apparatus. Further, unless expressly stated to the contrary, “or” refers to an inclusive or and not to an exclusive or. For example, a condition A or B is satisfied by any one of the following: A is true (or present) and B is false (or not present), A is false (or not present) and B is true (or present), and both A and B are true (or present).

[0022] The term “software component” is intended to mean at least a portion of a computer program (i.e., a software application). An example includes a software plug-in module or the like. Different software components may reside in the same computer program or in different computer programs on the same computer or different computers.

[0023] Before discussing embodiments of the present invention, an exemplary hardware architecture for using embodiments of the present invention is described. FIG. 1 illustrates such an exemplary hardware architecture and includes client computer 120, proxy computer 140, and server computer 160. Client computer 120 and proxy computer 140 are bi-directionally coupled to network 11, and proxy computer 140 and server computer 160 are bi-directionally coupled to network 13. Each of networks 11 and 13 may be an internal network or an external network (e.g., the Internet). In one embodiment, networks 11 and 13 may be the same network, such as the Internet. Computers 140 and 160 may be bi-directionally coupled to databases 14 and 16, respectively.

[0024] Client computer 120 can include a desktop computer, a laptop computer, a personal digital assistant, a cellular phone, or nearly other device capable of communicating over network 11. Other client computers (not shown) may also be bi-directionally coupled to network 11. The proxy computer 140 can be a server computer, but in another embodiment may be a client computer. Other server computers (not shown) similar to server computer 160 may be bi-directionally coupled to network 13.

[0025] In an alternative embodiment, each of proxy computer 140 and server computer 160 may be replaced by a plurality of computers (not shown) that may be interconnected to each other over a network or a combination of networks. For simplicity, a single system is shown for each of proxy computer 140 and server computer 160.

[0026] The client computer 120 can include central processing unit (“CPU”) 122, read-only memory (“ROM”) 124, random access memory (“RAM”) 126, hard drive (“HD”) or storage memory 128, and input/output device(s) (“I/O”) 129. I/O 129 can include a keyboard, monitor, printer, electronic pointing device (e.g., mouse, trackball, stylus, etc.), or the like. Proxy computer 140 can include CPU 142, ROM 144, RAM 146, HD 148, and I/O 149, and server computer 160 can include CPU 162, ROM 164, RAM 166, HD 168, and I/O 169.

[0027] Each of the computers in FIG. 1 may have more than one CPU, ROM, RAM, HD, I/O, or other hardware components. For simplicity, each computer is illustrated as having one of each of the hardware components, even if more than one is used. Note that FIG. 1 is a simplification of an exemplary hardware configuration. Many other alternative hardware configurations are possible and known to skilled artisans.

[0028] Each of computers 120, 140, and 160 is an example of a data processing system. ROM 124,144, and 164; RAM 126,146, and 166; HD 128,148, and 168; and databases 14 and 16 can include media that can be read by CPU 122,142, or 162. Therefore, each of these types of memories includes a data processing system readable medium. These memories may be internal or external to computers 120, 140, or 160.

[0029] Portions of the methods described herein may be implemented in suitable software code that may reside within ROM 124, 144, or 164, RAM 126, 146, or 166, or HD 128, 148, or 168. The instructions in an embodiment of the present invention may be contained on a data storage device, such as HD 148. FIG. 2 illustrates a combination of software code elements 204, 206, and 208 that are embodied within a data processing system readable medium 202, on HD 148. Alternatively, the instructions may be stored as software code elements on a DASD array, magnetic tape, floppy diskette, optical storage device, or other appropriate data processing system readable medium or storage device.

[0030] In an illustrative embodiment of the invention, the computer-executable instructions may be lines of compiled assembly, C, C⁺⁺, Java, or other language code. Other architectures may be used. For example, the functions of any one of the computers may be performed by a different computer shown in FIG. 1. Additionally, a computer program or its software components with such code may be embodied in more than one data processing system readable medium in more than one computer.

[0031] In the hardware configuration above, the various software components may reside on a single computer or on any combination of separate computers. In alternative embodiments, some or all of the software components may reside on the same computer. For example, one or more the software component(s) of the proxy computer 140 could reside on the client computer 120, the server computer 160, or both. In still another embodiment, the proxy computer 140 and database 14 may not be required if the functions performed by the proxy computer 140 are merged into client computer 120 or server computer 160. In such an embodiment, the client computer 120 and server computer 160 may be bi-directionally coupled to the same network (not shown in FIG. 1).

[0032] Communications between any of the computers in FIG. 1 can be accomplished using electronic, optical, radio-frequency, or other signals. For example, when a user is at client computer 120, client computer 120 may convert the signals to a human understandable form when sending a communication to the user and may convert input from a human to appropriate electronic, optical, radio-frequency, or other signals to be used by, computers 140 or 160. Similarly, when an operator is at server computer 160, server computer 160 may convert the signals to a human understandable form when sending a communication to the operator and may convert input from a human to appropriate electronic, optical, radio-frequency, or other signals to be used by computers 120, 140, or 160.

[0033] Attention is now directed to the methodology of developing a software architecture for the software in accordance with one embodiment of the present invention. The method can comprise breaking down a transaction into a set of discrete actions. The actual definitions used for separating the transaction into the discrete actions is variable and may be selected by skilled artisans in manners that best suit their particular transactions, hardware requirements, and software requirements. The method can also include determining which functions within the set of discrete actions are common to more than one application. As more are identified, the number of shared resources can increase and the amount of application-specific code can be decreased. Therefore, skilled artisans are encouraged to examine the software from many different levels of abstraction to discover potential shared resources that may otherwise be missed.

[0034] The method can further comprise generating software components for the discrete actions. A set of software plug-in modules can correspond to the different discrete actions for the transaction. Each application may have its own set of software plug-in modules. The amount of code within each software plug-in module should be kept relatively low if the identification of shared resources was performed properly. To the extent code for any shared resources does not currently exist, code for the shared resources should be generated to maximize its ability to be used by as many different plug-in modules as possible.

[0035] At least two of the software plug-in modules for different applications, whether they use the same or different protocols, can make function calls to any one or more of the shared resources. For different applications using the same protocol, only a request manipulation plug-in module, a content manipulation plug-in module, or both may be the only modules changed. Therefore, creating new application for the same protocol may be simplified because other plug-in modules used for the application may be copied from another application using the same protocol. These other plug-in modules may be substantially the same between the applications. By replacing or editing the request manipulation plug-in module, content manipulation plug-in module, or both, new applications may be developed very quickly.

[0036] Regarding applications in different protocols, each protocol may have a module that performs substantially the same action as any or all of the similar module(s) for the other protocol(s) though reducing this duplicative code by combining the common functionality is preferable.

[0037] Attention is now directed to the software architecture of the software in accordance with one embodiment of the present invention. The software architecture is illustrated in FIGS. 3 and 4 and is directed towards an electronic transaction that can be performed over a network. A basic idea behind the architecture is to allow programming code for shared resources to be commonly used by as many different network applications as possible. Note that all of the resources may or may not be shared by all the applications. The programming code for each application-specific plug-in module may include code to connect the incoming communication in any supported application to the shared resources. By limiting the code within the plug-in modules, a user of the software architecture can reduce development time, increase the likelihood that more applications in the same or different protocols will be properly supported (especially proprietary protocols that may be used by only a limited number of computers or users), and reduce the burden on hardware and software resources for different applications because only relatively small plug-in modules may be used.

[0038] In FIG. 3, each row of boxes 3200, 3400, and 3600 represents different applications in the same or different protocols. For example, row 3200 may represent a first application using HTTP, row 3400 may represent a different application using HTTP, and row 3600 may represent yet another application in a different protocol, such as POP, SNMP, WAP, and the like. Note that the series of dots between rows 3400 and 3600 indicate that many other applications in the same or different protocols may be present. Additionally, the architecture may be configured to allow the addition of future applications. The software architecture easily supports at least three different and potentially many more protocols.

[0039] Referring to row 3200, each of the boxes 3202 through 3214 represents different stages (actions) that may occur during an electronic transaction. For example, box 3202 may represent a request reception plug-in module, box 3204 may represent an authorization plug-in module, box 3206 may represent a request manipulation plug-in module, box 3208 may represent a content retrieval plug-in module, box 3210 may represents a content manipulation plug-in module, box 3212 may represent a content delivery plug-in module, and box 3214 may represent a post-response communication plug-in module (e.g., acknowledgement, billing, etc.). Each module may correspond to one or more of the discrete actions. Details about the individual plug-in modules are described later in this specification. Note that the other rows 3400 and 3600 include corresponding boxes for substantially the same types of actions except that they are designed for different applications. More specifically, box 3402 represents an incoming message reception plug-in module for a different application using the same protocol as box 3202, and box 3602 represents an incoming message reception plug-in module for yet another application using a different protocol compared to box 3202.

[0040] New applications that make use of already-supported protocols can be developed with a minimum of effort. This is achieved by creating a new row, which makes use of protocol specific plug-ins used in another row and combines them with other plug-ins developed for the specific application at hand. Some plug-in modules may be substantially the same for many different applications in the same protocol. In different protocols, the plug-in modules for at least some of the different applications may provide substantially the same functionality, although the code within those plug-in modules may be different compared to similar modules for the other protocols.

[0041] Within the software architecture, shared resources are illustrated as planes 3102, 3104, and 3106 that lie beneath each of the rows 3200, 3400, and 3600. Referring to FIG. 4, interfaces may be made to each of the shared resources for each plug-in module. Specifically referring to box 3214, functional connectivity 4102 links module 3214 and shared resource 3102. Likewise, functional connectivity 4104 links module 3214 and shared resource 3104, and functional connectivity 4106 links module 3214 shared resource 3106. Links 4102, 4104, and 4106 can be achieved by function calls to the shared resources. Examples of the shared resources may include a content cache, a parameter cache, a connection pool, a domain name server cache, a clock, a counter, a database, a global variables space (e.g., a logging database), or the like. A list of potential shared resources is nearly limitless. Note that not all shared resources may be connected to all modules along a row. For example, modules 3202 and 3204 may not need access to the content cache because they may not receive or process content returned for a request. Each connection from a client may be handled independently on its own thread. However in other embodiments, fewer threads or a single thread can be used to operate all connections to a specific row that supports a particular application or protocol. Unless stated to the contrary, the method below is described from the perspective of proxy computer 140.

[0042]FIG. 5 includes a flow diagram of a method of performing an electronic transaction that corresponds to the software plug-in modules that lie along any of rows 3200, 3400, and 3600. Note that all modules are not required and that functions of some modules may be combined with others (e.g., authorization may be part of processing an initial request). The process flow diagram will be briefly covered followed by a more detailed description of each module.

[0043] The method can comprise receiving a request from a client computer using a request reception plug-in module (block 502) and performing authorization using an authorization plug-in module (block 504). The method can also comprise manipulating a request using a request manipulation plug-in module (block 512). The method can further comprise retrieving content using a content retrieval plug-in module (block 522). The method can yet further comprise manipulating returned content using a content manipulation plug-in module (block 532) and sending the modified content to the client computer using a content delivery plug-in module (block 534). The method can still further comprise processing post-response communications using a post-response plug-in module (block 542).

[0044] Note that not all of the activities described in the process flow diagram are required, that a limitation within a specific activity may not be required, and that further activities may be performed in addition to those illustrated. Also, some of the activities may be performed substantially simultaneously during with other activities. After reading this specification, skilled artisans will be capable of determining what activities can be used for their specific needs.

[0045] Attention is now directed to the protocol-specific plug-in modules along the rows 3200, 3400, and 3600 and how they are related to the activities illustrated in FIG. 5. Although the discussion is directed to row 3200, the corresponding modules along other rows can provide similar functionality. Also, in the example below, client computer 120 is sending a request for content to proxy computer 140, and server computer 160 is providing content in response to the request. The flow of information could be in the opposite direction (server computer 160 seeking information from client computer 120).

[0046] The method can comprise receiving a request from client computer 120 using request reception plug-in module 3202 (block 502 in FIG. 5). Request reception plug-in module 3202 can be used when a request from client computer 120 is received or accessed by proxy computer 140. Module 3202 can initially generate an associative array from portions of the header of the request. Part or all of the associative array may be used by the other modules along the same row. The associative array may provide information that can be part of function calls to the shared resources. Any or all the data (including the associative array) may be passed from any prior plug-in module (e.g., module 3202) to any or all the subsequent plug-in modules along the same row (e.g., 3204, 3206, 3208, 3210,

[0047] The method can also comprise performing authorization using authorization plug-in module 3204 (block 504). The authorization plug-in module 3204 is optional and can be used for determining whether a user at client computer 120 has proper authorization. The authorization modules may be based on an Internet Protocol (“IP”) address or a name and a password. Module 3204 may send the IP address or name and password to a shared resource to determine if the user is allowed access.

[0048] The method can further comprise manipulating the request using request manipulation plug-in module 3206 (block 512). Request manipulation plug-in module 3206 may be used to modify, replace, or otherwise manipulate the request. For example, proxy computer 140 may have code to redirect a URL within a request to a different URL. More specifically, proxy computer 140 may make a function call to that shared resource using the requested URL. The shared resource may pass the different URL back to module 3206. Module 3206 may have the logic to put the different URL in the correct protocol, so that it will be understood by a computer that may receive the redirected request.

[0049] The method can yet further comprise retrieving content using content retrieval plug-in module 3208 (block 522). Content retrieval plug-in module 3208 may be used to send the request and receive or access content in response to the original request or manipulated request. More specifically, a request originating from client computer 120 may have been processed by proxy computer 140 before being received by server computer 160. Content from server computer 160, in response to the processed request from proxy computer 140, would be processed using module 3208. Similar to module 3202, the code may parse the content from server computer 160 into a header portion and a content portion and append that information onto a previously generated associative array.

[0050] The method can still further comprise manipulating returned content from the server computer using content manipulation plug-in module 3210 (block 532). Content manipulation plug-in module 3210 may be used to add or modify content before sending it to client computer 120. More specifically, proxy computer 140 may add advertisements or supplementary information from third parties to the content provided by server computer 160. In an alternative embodiment, part or all of the content originating from server computer 160 may be deleted or replaced with other content.

[0051] The method can comprise sending the modified content to the client computer using content delivery plug-in module 3212 (block 534). Content delivery plug-in module 3212 may be used to route the content, after manipulation, if any, to client computer 120. Some of the information in the associative array generated when the original request from client computer 120 was processed may be used by module 3212 when sending the outgoing content to client computer 120.

[0052] The method can also comprise processing post-response communications using post-response plug-in module 3214 (block 542). Post-response communication plug-in module 3214 may be used for acknowledgement, billing, or other purposes. For example, after content is successfully sent to client computer 120 from module 3212, module 3124 could then charge the user's credit card for that transaction. Alternatively, module 3214 may look for a signal that service to or from client computer 120 or server computer 160 is being terminated for the current transaction. Such post-response processing may be helpful in avoiding invoices or other bills sent to a user at client computer 120 if a product or service was either incomplete or defective or to properly reflect the connect time for a transaction.

[0053] Along similar lines, one of the planes as illustrated in FIG. 3 may include global space variables that may need to be used by other shared resources, proxy computer 140, or the plug-in modules. System statistics are examples of information that may be within a global variable space. This information may be useful to proxy computer 140 or another computer, such as client computer 120 or server computer 160, in monitoring activity. The statistics may include how many computers are connected to proxy computer 140, the amount of time each of those computers are connected to proxy computer 140, the amount of or time lapsed during transactions being processed through proxy computer 140, or the like.

[0054] These global variables may be used in conjunction with a module, such as authorization module 3204. If too many users are currently logged into proxy computer 140, authorization may be denied even if the computer attempting a connection to proxy computer 140 has proper security clearance. After another transaction by another client computer is terminated, a signal from module 3214 can be sent to the logging system within the shared resources. A new client computer may now gain access to the services provided by proxy computer 140 after the connection from the other transaction is terminated.

[0055] Attention is now directed to more specific activities that may be performed by a specific module, and how that specific module may interact with other modules for the same transaction using a specific application. The process flow diagram illustrated in FIGS. 6-8 is used to describe some of the specific activities. Again, unless stated to the contrary, the method is primarily described from the perspective of proxy computer 140.

[0056] To aid in understanding the method in FIGS. 6-8, a specific example is used and occasionally referenced. In the example, an incoming communication may be a request from client computer 120 sent to proxy computer 140 for www.yahoo.com. The client computer 120 is communicating using HTTP, using a Netscape™ browser (of AOL Time Warner, Inc. of New York, N.Y.), and has a MacOS X™ operating system (of Apple Computer, Inc. of Cupertino, Calif.).

[0057] Referring to FIG. 6, the method can comprise receiving an incoming communication for a specific application (block 602). The communication can comprise a request, a message, or other form of communication. The communication can be sent by client computer 120 and received or accessed by proxy computer 140 via network 11. Proxy computer 140 can access or read at least a portion of the incoming communication and determine the specific application for the communication. In the example, the incoming communication is a request from client computer 120 sent to proxy computer 140 for www.yahoo.com. The incoming communication will also contain other information within the header of the request. In the example, the other information can include the browser and operating system of client computer 120.

[0058] After determining the application for the communication, proxy computer 140 can determine which row 3200, 3400, 3600, or other or row of plug-in modules will be used for the transaction. At this point in the method, proxy computer 140 may activate any or all of the plug-in modules for the row corresponding to the specific application. In one embodiment, plug-in modules within each row may be activated only as they are first used. Referring to the example, the request is for an application corresponding to row 3200. Therefore, plug-in module 3202 may be activated. If the communication is for another application, plug-in module 3402 or 3602 may be activated for the particular application.

[0059] The method can further comprise routing the incoming communication to a first software plug-in module for the specific application (block 604). Proxy computer 140 can route the request to request reception software plug-in module 3202 because the incoming request uses the application corresponding to row 3200.

[0060] The method can comprise parsing the incoming communication into a header portion and a content portion (block 622). The parsing can be performed by module 3202 to obtain information from the request.

[0061] The method can also comprise generating an associative array using information contained within the header portion (block 624). The associative array can include nearly any finite number of rows. Each row can comprise a key and a value. The key can comprise a parameter within the header portion, and the value can comprise a value for that parameter. In general, the header portion may include one or more lines of a command followed by a command argument. The command may be a key, and the command argument may be the corresponding value for the key. The associative array may be searched by the key or the value.

[0062] By knowing conventions used by each of the protocols for incoming communications and the characteristics of headers used for those protocols, formation of the associative array can be performed without complicated coding requirements. The associative array is flexible regarding the number of rows and allows different sizes of associative arrays to be used for different protocols.

[0063] For HTTP, one of the lines within the header may include a line with “User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.1) Gecko.” The key will be “User-Agent,” and the value will be “Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.1) Gecko.” For POP, a line may include “RETR 27,” where 27 is an object identifier for is a particular item to be retrieved. The key will be “COMMAND,” and the value will be “RETR.” A second entry will be made with a key of “ARGUMENT” and a value of “27.” For SNMP, a line may include “get 47.12.112.38,” where 47.12.112.38 corresponds to an object identifier. The key will be “COMMAND”, and the value will be “GET,” and a second entry will have the key “ARGUMENT” and the value “47.12.112.38.”

[0064] The content may or may not be part of the associative array. If it is, the associative array can include a key of “CONTENT” and the entire content data block as the value. For an image, the content may be a very large amount of data. Alternatively, the associative array may be paired with a data pointer that points to the data block, rather than incorporating it directly into the associative array.

[0065] Turning to the example, the associative array may include information as shown in Table 1 below. Descriptive names are used instead of actual names to aid in understanding the associative array. Also, the associative array may include many more rows. Because the associative array may be searched by key or value, the order of the rows is unimportant. TABLE 1 Exemplary associative array KEY VALUE Request GET http://www.yahoo.com HTTP/1.0 Request-Document http://www.yahoo.com User-Agent Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv: 1.1) Gecko Browser Netscape Operating system MacOS X

[0066] The method can also comprise generating a function call to at least one of the shared resources using data within the associative array (block 702 in FIG. 7). In the example, proxy computer 140 can make a function call to a shared resource, more specifically to a clock (shared resource) and a logging system (another shared resource) to get the time and log the beginning of the transaction. The logging information may include the time and a transaction identifier. Note that some of the information within the associative array could be sent with the function call to the shared resource.

[0067] The method can further comprise receiving data from the function call (block 704). In the example, the transaction identifier may be passed back to module 3202. The method can still further comprise processing data from the function call with other code within the first software module (block 706). Module 3202 may be more focused on processing the incoming message rather than processing data coming back from the function call. Other modules, such as the content deliver plug-in module 3212, may perform such data processing. Note that the application-specific processing may occur before, during, or after function call(s), if any, are made to the shared resource(s).

[0068] A determination may be made whether the first software plug-in module is the last software plug-in module (diamond 722). If so, the method may end. Otherwise, the method may continue with passing any or all of the data (including the associative array) from a prior software plug-in module to the next software plug-in module (block 802 in FIG. 8). In the example, the next software plug-in module is authorization module 3204. Authorization module 3204 may use some of the information that was collected or generated by module 3202. Passing the information reduces the load on hardware by not sending a communication from proxy computer 140 to another computer (e.g., client computer 120) or making the same or similar function call to a shared resource for the same information.

[0069] The method can also comprise generating a function call to at least one of the shared resources using data within the associative array (block 822). Authorization module 3204 may make a function call to the parameter system to determine if the user has proper authorization, whether access can be granted (whether number of users currently connected to proxy computer has exceeded its limits), priority of connection (level or speed of service to be provided), etc. Module 3204 may pass user name and password when making the function call to the logging system. Module 3204 may also make a function call to the shared clock to obtain a time for the action.

[0070] The method can also comprise receiving data from the function call (block 824). The data may include information regarding whether user at client computer 120 has proper security clearance, whether the connection could be made, priority of the connection, and the like. The method can further comprise processing data from the function call with other code within the current software plug-in module (block 826). An example may include sending a communication from proxy computer 140 to client computer 120 informing the user whether the connection was made. Alternatively, no further processing may occur with module 3204.

[0071] A determination may be made whether the current software plug-in module is the last software plug-in module (diamond 842). If so, the method may end. Otherwise, the method may continue with block 802 in FIG. 8 and proceed in an iterative manner until the last software plug-in module is reached.

[0072] The remaining modules along row 3200 will be addressed to complete the example transaction to give a better understanding of actions within the modules and some function calls that those modules may make. More or fewer modules may be used. Also, more, fewer, or different function calls may be made by the modules.

[0073] Data can be passed to request manipulation software plug-in module 3206. A function call can be made to a shared resource to determine if the request should be changed. The function call may pass information that a request for www.yahoo.com has been received or accessed. The shared resource may include logic to replace the original client request with www.google.com. The associative array may be changed to replace www.yahoo.com with www.google.com or be appended to note that the manipulated request is www.google.com.

[0074] Module 3208 may perform the content retrieval. A function call can be made to a content cache (shared resource) at proxy computer 140 to determine if the content cache includes a network page for www.google.com specifically formatted for a computer having a Netscape™ browser and a MacOS X™ operating system. Note that the browser and operating system information can be obtained from the associative array. If the content cache has the network page, it can be passed to module 3208. Otherwise, module 3208 may formulate an HTTP request to server computer 160 requesting the network page for the specific browser and operating system of client computer 120. After proxy computer 140 obtains the proper network page from server computer 160, module 3208 may send a function call to the content cache at proxy computer 140 to cache the network page. The proper network page and other information previously collected may be sent to module 3210.

[0075] Content manipulation module 3210 may delete, add, or replace some or all of the content within the proper network page returned. For example, when the proper Google network page is received or accessed, module 3210 may add advertisement(s) around the border(s) of the page. A function call can be made to a shared resource to determine which advertisement(s) should be added. The logging system may keep track of which advertisement is being added, whose advertisement it is, and how many times the advertisement has been added during the current billing cycle. The logging system, which is a shared resource, may access the counter (another shared resource) by itself. In other works, some or all of the shared resources may interact with each other without requiring an application-specific software plug-in module to intervene. The manipulated content and other information may be passed to module 3212.

[0076] Content delivery software plug-in module 3212 may take the Google network page formatted for a Netscape™ browser and MacOS X™ operating system and the advertisement(s) from module 3210 and prepare a communication using HTTP. The communication can be sent from proxy computer 140 to client computer 120. Function calls can be made to the logging system to note the actual content sent to client computer 120 and time sent. Any or all information collected or generated by modules 3202-3212 may be passed to module 3214.

[0077] Post-response communications module 3214 may be used to track usage or billing information. At the end of a transaction, module 3214 may make a function call to the clock to determine the current time, and make another function call to the logging system to determine how much time lapsed during the transaction and record any billing information. The billing information may be within a shared resource managed by an accounting department. Billing information for the user at client computer 120 may be passed from one of the shared resources to module 3214, which may return some of the information for the user at client computer 120. Proxy computer 140 may send a message to client computer 120 similar to “You were connected for 2.1 minutes and were charged $1.27. Thank you for using our service.” Alternatively, no message may be sent and the method may end.

[0078] Note that not all of the activities described in the process flow diagram in FIGS. 6-8 are required, that a limitation within a specific activity may not be required, and that further activities may be performed in addition to those illustrated. Also, some of the activities may be performed substantially simultaneously during with other activities. After reading this specification, skilled artisans will be capable of determining what activities can be used for their specific needs.

[0079] The power of creating new applications for the same protocol may be better understood with the flow diagram in FIG. 9 and an example. In one embodiment, different applications may be generated for different priorities of users for a network site. The communication protocol may use HTTP. The method can comprise developing a first set of plug-in modules for a first application (block 902). The set may correspond to row 3200 and be directed to premium users of a network site.

[0080] A new application may need to be developed for regular users of the network site. The communication protocol may also use HTTP. The method can comprise copying the first set of plug-in modules to form a second set of plug-in modules (block 922).

[0081] For the new application, only the request manipulation plug-in module, the content manipulation plug-in module, or both may be replaced. The remainder of the plug-in modules may be unchanged and be substantially the same as the remainder of the plug-in modules for the first application.

[0082] The method may comprise replacing a first request manipulation plug-in module with a second request manipulation plug-in module for a second application (block 924). For example, the premium user may have access to some network pages that the regular user may not. If the regular user requests a premium page, the second request manipulation module may direct the regular user to another network page for which the regular user has proper access.

[0083] The method may also comprise replacing a first content manipulation plug-in module with a second content manipulation plug-in module for the second application (block 926). The premium user may have only 10 percent of his or her window occupied by advertisements, whereas the regular user may have 50 percent of his or her window occupied by advertisements. The second content manipulation module may reformat the retrieved content to allow for more advertising space. The second content manipulation module may also access the shared resources to obtain the advertisements and keep track of which advertisements were used. Device dependent optimization of network pages (desktop computer vs. cellular phone, etc.) can be achieved by plugging in a module which transcodes content using settings developed for the particular device that made the initial request.

[0084] After one or both of the request manipulation and content manipulation modules are replaced, the method can still further comprise executing the second application using the second set of plug-in modules (block 942).

[0085] Note that while the example focused more on replacing specific modules, in other embodiments, those modules may be generated by editing code within the corresponding modules within the first set for the first application.

[0086] After reading this specification, skilled artisans will appreciate that entirely different applications, using the same network protocol, can be developed by simply inserting new plug-in module(s) at the request manipulation location, the content request location, or both locations.

[0087] In other embodiments, the method and system may be used for nearly any other network communications. As an example, client computer 120 may make a request for information within a database located at server computer 160. The request may be handled in a manner similar to a request for a network page. If the user does not have proper authorization to all information within a request, the request manipulation module may request only that information for which the user has property access or the content manipulation module may add information stating that the user does not have proper access to some or all the information.

[0088] In another embodiment, the multiple-protocol software architecture and plug-in modules may be installed in client computer 120 or server computer 160. Not all modules in proxy computer 140 may be needed by client computer 120 or server computer 160. Authorization modules 3204, 3404, and 3604 may not be used or can be coded to allow authorization (always authorized) at client computer 120. The content manipulation modules 3210, 3410, and 3610 may not be used by the server computer 160. After reading this specification, skilled artisans are capable of determine which modules are needed and which ones can be eliminated or bypassed (module exists but passes information through without performing any other significant activity).

[0089] The software components can be designed to maximize their ability use shared resources while minimizing the amount of code used for application-specific operations. Therefore, relatively smaller plug-in modules (compared to the shared resources) may be used to access the shared resources illustrated in the planes below the modules. In this manner, less code needs to be written for a new protocol compared to the prior-art method of writing or copying and modifying an entire program for a specific protocol. For applications in the same protocol, the specific coding requirements may be much less. Furthermore, protocols are more likely to be supported because the coding requirements are less, and therefore, may be generated for protocols that have relatively fewer users compared to other protocols. The method and system are significantly more efficient in both time and cost compared to existing prior-art methods dealing with the problem of many different applications in the same or different protocols.

[0090] In the foregoing specification, the invention has been described with reference to specific embodiments. However, one of ordinary skill in the art appreciates that various modifications and changes can be made without departing from the scope of the present invention as set forth in the claims below. Accordingly, the specification and figures are to be regarded in an illustrative rather than a restrictive sense, and all such modifications are intended to be included within the scope of present invention.

[0091] Benefits, other advantages, and solutions to problems have been described above with regard to specific embodiments. However, the benefits, advantages, solutions to problems, and any element(s) that may cause any benefit, advantage, or solution to occur or become more pronounced are not to be construed as a critical, required, or essential feature or element of any or all the claims. 

What is claimed is:
 1. A system for performing transactions comprising: a first resource; a first application, wherein the first application is configured to send a first call to the first resource; and a second application, wherein the second application is configured to send a second call to the first resource.
 2. The system of claim 1, wherein the first and second applications use the same protocol.
 3. The system of claim 2, further comprising: a first set of software components configured for the first application; and a second set of software components configured for the second application; wherein at least one of the software components in the first set is substantially the same as another software component in the second set.
 4. The system of claim 3, wherein only: request manipulation software components differ between the first and second sets of software components; content manipulation software components differ between the first and second sets of software components; or the request manipulation software components and the content manipulation software components differ between the first and second sets of software components.
 5. The system of claim 2, further comprising a third application, wherein: the third application is configured to send a third call to a shared resource; the first application is configured to send a fourth call to the shared resource; and the first and third applications use different protocols.
 6. The system of claim 1, wherein the first and second applications use different protocols.
 7. The system of claim 6, further comprising: a first set of software components is configured for the first application; and a second set of software components is configured for the second application, wherein each of the software components within the first set of software components has a corresponding software component within the second set of software components.
 8. The system of claim 1, wherein an action within the first and second applications comprises a request reception, an authorization, a request manipulation, a content retrieval, a content manipulation, a content delivery, or a post-response communication.
 9. The system of claim 1, wherein: the first application comprises a first software component and a second software component; the first software component is configured to collect or generate information and to perform a first action in a first transaction; the second software component is configured to perform a second action in the first transaction, wherein the second action is subsequent to the first action; and the second software component can access at least a portion of the information.
 10. The system of claim 9, wherein the first software component is configured to generate an associative array that comprises at least a portion of the information that is from an incoming communication.
 11. The system of claim 10, wherein the association array comprises data from a header portion of the incoming communication.
 12. The system of claim 1, further comprising other shared resources, wherein: the first and other shared resources are selected from a content cache, a parameter cache, a connection pool, a domain name server, a clock, a counter, a database, and a global variable space; and the first resource is different from the other shared resources.
 13. The system of claim 1, wherein the first and second applications comprise software plug-in modules.
 14. The system of claim 1, further comprising: a first computer system comprising the first application, the second application, and the first resource; a second computer system; and a network coupled to the first and second computer systems.
 15. The system of claim 14, wherein the first computer system is configured to execute the first application in response to receiving a communication from the second computer system.
 16. The system of claim 14, wherein the first computer system is configured to execute the first application when sending a communication to the second computer system.
 17. A method of developing a system for performing transactions using shared resources comprising: generating a first application; and generating a second application, wherein each of the first and second applications is configured to make a call to a first resource.
 18. The method of claim 17, further comprising breaking down the first transaction into a set of actions, wherein: generating the first application comprises generating a first set of software components; each software component within the first set of software components corresponds to at least one of the actions; and wherein at least one of the actions comprises a request reception, an authorization, a request manipulation, a content retrieval, a content manipulation, a content delivery, or a post-response communication.
 19. The method of claim 17, wherein the first and second applications use the same protocol.
 20. The method of claim 19, further comprising breaking down at least two of the transactions into a set of actions, wherein: the first application comprises a first set of software components; the second application comprises a second set of software components; and at least one of software component in the first set of software components is substantially the same as at least one of the software components in the second set of software components.
 21. The method of claim 20, wherein only: request manipulation software components differ between the first and second sets of software components; content manipulation software components differ between the first and second sets of software components; or the request manipulation software components and the content manipulation software components differ between the first and second sets of software components.
 22. The method of claim 17, further comprising generating a third application, wherein: the third application is configured to make a third call to a shared resource; the first application is configured to make a fourth call to the shared resource; and the first and third applications use different protocols.
 23. The method of claim 17, wherein the first and second applications use different protocols.
 24. The method of claim 17, further comprising: breaking down each of the transactions into a set of actions; and generating software components, wherein each of the software components corresponds to at least one of the actions.
 25. The method of claim 24, wherein within at least one set of software components, one of the software components has access to information collected or generated by another software component within the at least one set of software components.
 26. The method of claim 17, wherein: the first application comprises a first software component and a second software component; the first software component is configured to collect or generate information and to perform a first action in a transaction; the second software component is configured to perform a second action in the transaction, wherein the second action is subsequent to the first action; and the second software component is configured to access at least a portion of the information.
 27. The method of claim 26, wherein the first software component is configured to generate an associative array that comprises at least a portion of the information that is from an incoming communication.
 28. The method of claim 27, wherein the association array comprises data from a header portion of the incoming communication.
 29. The method of claim 17, wherein the first resource comprises a content cache, a parameter cache, a connection pool, a domain name server, a clock, a counter, a database, or a global variable space.
 30. The method of claim 17, wherein the first and second applications comprise software plug-in modules.
 31. A method of performing electronic transactions comprising: receiving a first communication for a first application to perform a first transaction; sending a first call to a first resource in response to the first communication; receiving a second communication for a second application to perform a second transaction; and sending a second call to the first resource in response to the second communication.
 32. The method of claim 31, wherein the first and second applications are different applications using the same protocol.
 33. The method of claim 32, further comprising: receiving a third communication for a third application to perform a third transaction, wherein the first and third applications use different protocols; and sending a third call to a shared resource in response to the third communication, wherein the shared resource is shared between the third application and at least one of the first and second applications.
 34. The method of claim 31, wherein the first and second applications use different protocols.
 35. The method of claim 31, further comprising: parsing the first communication into a header portion and a content portion; generating an associative array comprising a key and a value, wherein: the key comprises a parameter within the header portion; and the value comprises a value of the parameter; and generating the first call, wherein the first call comprises at least a portion of information from the associative array.
 36. The method of claim 35, further comprising appending additional information onto the associative array using a second software component.
 37. The method of claim 31, wherein: collecting or generating information using a first software component of the first application; performing a first action in a first transaction using the first software component; and performing a second action in the first transaction using a second software component in the first application, wherein: the second action is performed subsequent to the first action; and the second software component can access at least a portion of the information.
 38. The method of claim 31, wherein: each of the first and second applications is configured to perform a set of actions; each of the first and second applications comprises a set of software components; and each software component corresponds to an action within the set of actions.
 39. The method of claim 38, wherein at least one of the electronic transactions comprises an action selected from a request reception, an authorization, a request manipulation, a content retrieval, a content manipulation, a content delivery, and a post-response communication.
 40. The method of claim 31, wherein the first resource comprises a content cache, a parameter cache, a connection pool, a domain name server, a clock, a counter, a database, or a global variable space.
 41. The method of claim 31, wherein the first and second applications comprise software plug-in modules.
 42. The method of claim 31, further comprising: determining that the first communication is for the first application; and determining that the second communication is for the second application.
 43. The method of claim 31, further comprising: receiving a first datum from the first call; and receiving a second datum from the second call.
 44. A data processing system readable medium having code embodied therein, the code comprising: an instruction for accessing a first communication for a first application to perform a first transaction; an instruction for sending a first call to a first resource in response to the first communication; an instruction for accessing a second communication for a second application to perform a second transaction; and an instruction for sending a second call to the first resource in response to the second communication.
 45. The data processing system readable medium of claim 44, wherein the first and second applications are different applications using the same protocol.
 46. The data processing system readable medium of claim 45, wherein the code further comprises: an instruction for accessing a third communication for a third application to perform a third transaction, wherein the first and third applications use different protocols; and an instruction for sending a third call to a shared resource in response to the third communication, wherein the shared resource is shared between the third application and at least one of the first and second applications.
 47. The data processing system readable medium of claim 44, wherein the first and second applications use different protocols.
 48. The data processing system readable medium of claim 44, wherein the code further comprises: an instruction for parsing the first communication into a header portion and a content portion; an instruction for generating an associative array comprising a key and a value, wherein: the key comprises a parameter within the header portion; and the value comprises a value of the parameter; and an instruction for generating the first call, wherein the first call comprises at least a portion of information from the associative array.
 49. The data processing system readable medium of claim 48, wherein the code further comprises an instruction for appending additional information onto the associative array using a second software component.
 50. The data processing system readable medium of claim 44, wherein: an instruction for collecting or generating information using a first software component of the first application; an instruction for performing a first action in a first transaction using the first software component; and an instruction for performing a second action in the first transaction using a second software component in the first application, wherein: the instruction for performing the second action is executed subsequent to the instruction for performing the first action; and the second software component can access at least a portion of the information.
 51. The data processing system readable medium of claim 44, wherein: each of the first and second applications comprises a set of actions; at least one of the actions comprises a request reception, an authorization, a request manipulation, a content retrieval, a content manipulation, a content delivery, or a post-response communication.
 52. The data processing system readable medium of claim 51, wherein at least one of the electronic transactions comprises an action selected from a request reception, an authorization, a request manipulation, a content retrieval, a content manipulation, a content delivery, and a post-response communication.
 53. The data processing system readable medium of claim 44, wherein the first resource comprises a content cache, a parameter cache, a connection pool, a domain name server, a clock, a counter, a database, or a global variable space.
 54. The data processing system readable medium of claim 44, wherein the first and second applications comprise software plug-in modules.
 55. The data processing system readable medium of claim 44, wherein the code further comprises: an instruction for determining that the first communication is for the first application; and an instruction for determining that the second communication is for the second application.
 56. The data processing system readable medium of claim 44, wherein the code further comprises: an instruction for accessing a first datum from the first call; and an instruction for accessing a second datum from the second call. 